package cn.village.dao;
import cn.village.entity.CompensationContract;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface CompensationContractMapper {

	public CompensationContract getCompensationContractById(@Param(value = "id") String id)throws Exception;

	public List<CompensationContract>	getCompensationContractListByMap(Map<String,Object> param)throws Exception;

	public Integer getCompensationContractCountByMap(Map<String,Object> param)throws Exception;

	public Integer insertCompensationContract(CompensationContract compensationContract)throws Exception;

	public Integer updateCompensationContract(CompensationContract compensationContract)throws Exception;

	public Integer deleteCompensationContractById(@Param(value = "id") String id)throws Exception;

	public Integer batchDeleteCompensationContract(Map<String,List<String>> params);

}